/* reset css 修改标签默认样式、清楚浮动、滚动条等*/

/* 去掉 margin、padding 和 border 的默认值 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
section {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}

/* HTML5 元素样式重置 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

/* ol 和 ul 列表样式重置 */
ol,
ul {
	list-style: none;
}

/* a 标签样式重置 */
a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

/* table 样式重置 */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 重置图片边距 */
img {
	border: none;
	vertical-align: middle;
	max-width: 100%;
}

/* button 样式重置 */
button {
	border: none;
	background: none;
	cursor: pointer;
	outline: none;
	padding: 0;
}

/* 清除浮动 */
.clearfix:after {
	content: '';
	display: block;
	clear: both;
}

/* 修改浏览器滚动条样式 */
/* WebKit 浏览器（Chrome、Safari 等） */
::-webkit-scrollbar {
	width: 8px; /* 滚动条宽度 */
}

::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2); /* 滚动条滑块颜色 */
	border-radius: 4px; /* 滑块圆角半径 */
}

::-webkit-scrollbar-track {
	background-color: #f1f1f1; /* 滚动条背景颜色 */
	border-radius: 4px; /* 滚动条背景圆角半径 */
}
